package com.uye.tattstemp.model.hibernate.domainobjects;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.uye.framework.util.StringUtils;
import com.uye.tattstemp.model.IProductivityType;
import com.uye.tattstemp.model.ProductivityType;

/**
 * A Hibernate specific representation of rows from the
 * ProductivityTypes table.
 * 
 * @author uye
 */
@Entity()
@Table(name = "ProductivityTypes")
public class ProductivityTypeHeavy extends ProductivityType implements Serializable {

    @Transient
    private List<Metric> metrics;


    public List<Metric> getMetrics() {
        return metrics;
    }

    public void setMetrics(List<Metric> metrics) {
        this.metrics = metrics;
    }

}
